package com.myapplication.ui.listfragment;

import com.myapplication.bean.ListBean;
import com.myapplication.config.HUrlConfig;
import com.myapplication.http.HttpUtils;

import java.util.Map;

import retrofit2.Callback;

/**
 * Created by zitaojiang on 2016/10/6.
 */
public class Model_List implements Contract_List.Model{

    @Override
    public void getData(Map<String, String> params, Callback<ListBean> callback) {
        HttpUtils.getSingletion().getListData(HUrlConfig.Path.LIST_BASEURL,params,callback);
    }
}
